package cn.lyf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

@SpringBootApplication
public class BloggerDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(BloggerDemoApplication.class, args);
        List<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(2);
        Collections.reverse(list);
        System.out.println(list);
    }


}
